package com.zwl9517hotmail.demoplaymedia;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.zwl9517hotmail.libplaymedia.PlayMediaActivity;

import java.util.ArrayList;
import java.util.List;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        List<String> path = new ArrayList<>();
        path.add("http://jzvd.nathen.cn/c494b340ff704015bb6682ffde3cd302/64929c369124497593205a4190d7d128-5287d2089db37e62345123a1be272f8b.mp4");
        path.add("http://jzvd.nathen.cn/b8a589e5f12c45fdad96674d08affd31/f1d7229f553f414283033af3e292c6c9-5287d2089db37e62345123a1be272f8b.mp4");

        PlayMediaActivity.start(this, path, true, 0);
        finish();
    }
}
